#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
using std::cout;
using std::endl;
using std::ifstream;
using std::istringstream;
using std::string;

void test0(){
    ifstream ifs;
    ifs.open("server.conf");

    string line;
    while(std::getline(ifs,line)){
        istringstream iss(line);
        string key;
        string value;
        iss >> key >> value;
        cout << key << "----->" << value << endl;
    }

    ifs.close();
}

int main(int argc, char * argv[])
{
    test0();
    return 0;
}


